package com.ruoyi.dl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 前台用户对象 dl_user
 * 
 * @author ruoyi
 * @date 2021-01-05
 */
public class DlUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /**  */
    @Excel(name = "")
    private String openId;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wxName;

    /** 代练等级 */
    @Excel(name = "代练等级")
    private Integer dlLevel;

    /** 支付密码 */
    @Excel(name = "支付密码")
    private String zfPassward;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 冻结资金 */
    @Excel(name = "冻结资金")
    private BigDecimal freeze;
    //用户头像
    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setWxName(String wxName) 
    {
        this.wxName = wxName;
    }

    public String getWxName() 
    {
        return wxName;
    }
    public void setDlLevel(Integer dlLevel) 
    {
        this.dlLevel = dlLevel;
    }

    public Integer getDlLevel() 
    {
        return dlLevel;
    }
    public void setZfPassward(String zfPassward) 
    {
        this.zfPassward = zfPassward;
    }

    public String getZfPassward() 
    {
        return zfPassward;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setFreeze(BigDecimal freeze) 
    {
        this.freeze = freeze;
    }

    public BigDecimal getFreeze() 
    {
        return freeze;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("wxName", getWxName())
            .append("dlLevel", getDlLevel())
            .append("zfPassward", getZfPassward())
            .append("phone", getPhone())
            .append("balance", getBalance())
            .append("freeze", getFreeze())
            .toString();
    }
}
